package day5;

/**
 * ClassName：Week
 *
 * @Author：小鱼
 * @Create：2025-08-08 16:41
 */
public enum Week {
    MONDAY {
        @Override
        public void show() {
            System.out.println("星期一");
        }
    }, TUESDAY {
        @Override
        public void show() {
            System.out.println("星期二");
        }
    }, WEDNESDAY {
        @Override
        public void show() {

        }
    }, THURSDAY {
        @Override
        public void show() {

        }
    }, FRIDAY {
        @Override
        public void show() {

        }
    }, SATURDAY {
        @Override
        public void show() {

        }
    }, SUNDAY {
        @Override
        public void show() {

        }
    };

    private String desc;

    Week() {
    }

    Week(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
    public abstract void show();
}
